package com.example.tkmybatisspringboot.service;



import com.example.tkmybatisspringboot.pojo.Student;

import java.util.List;

/**
 * @Project mybatis-study
 * @Description
 * @Author Sunny
 * @Date 2023/11/3 09:34:48
 * @Version 1.0
 */
public interface StudentService {


    List<Student> findAll();

    List<Student> findList(Student Student);

    Student findById(Integer id);

//    PageInfo<Student> pageSearch(Integer page, Integer size);
//
//    PageInfo<Student> pageSearchAndCondition(Student Student, Integer page, Integer size);

    void add(Student Student);

    void update(Student Student);

    void del(Integer id);
}
